<?php
// 本类由系统自动生成，仅供测试用途
class GatewayAction extends Action{
	
//测试AMF调用
    public function example() {
    	//导入类库
    	Vendor('Zend.Amf.Server');
    	//导入操作类
    	Import("@.Action.ExampleAction");
    	Import("@.Action.LsnAction");
    	
    	//实例化AMFs
    	$server = new Zend_Amf_Server();
    	$server -> setClass('ExampleAction');
    	echo $server -> handle();
    	
    }
    
	public function lsn() {
    	//导入类库
    	Vendor('Zend.Amf.Server');
    	//导入操作类
    	Import("@.Action.ExampleAction");
    	Import("@.Action.LsnAction");
    	
    	
    	$server = new Zend_Amf_Server();
    	$server -> setClass('LsnAction');
    	echo $server -> handle();
    }
    
}
?>